package cn.lgs.com.mobileplayer.base;

import android.app.Application;
import android.content.Context;

/**
 * Created by lgs on 2017/9/20.
 */

public class BaseApp extends Application {

//    private static BaseApp mInstance;



    @Override
    public void onCreate() {
        super.onCreate();

    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
//        mInstance = this;
    }

    public static BaseApp get(Context c) {
        return (BaseApp) c.getApplicationContext();
    }

}
